package com.yzh.pethome.service;

import com.yzh.pethome.domain.PageList;
import com.yzh.pethome.domain.PageParams;
import com.yzh.pethome.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DeptService {
    List<Dept> selectAllDept();
    void addDept(Dept dept);
    void deleteDept(Long id);
    void updateDept(Dept dept);
    Dept selectDeptById(Long id);

    PageList<Dept> selectDeptByPage(PageParams pageParams);



}
